package org.bright.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class InventoryVO {
//   库存id
    private int inventoryId;
//    商品id
    private int productId;
//    数量
    private int quantity;
//    库存创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createdAt;
//    库存更改时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updatedAt;
//    商品名称
    private String productName;
}
